package com.audaque.springboot.foshanupload.web.httpclientdemo.ieg.product.model;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.audaque.springboot.foshanupload.web.httpclientdemo.ieg.department.model.IegDepartment;
import com.audaque.springboot.foshanupload.web.httpclientdemo.ieg.tag.model.IegTag;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

@NoArgsConstructor
@AllArgsConstructor
@Data
@Builder
public class IegLanguage implements Serializable {
 private static final long serialVersionUID = -1242493306307174690L;
 private String id;
 @JsonProperty("contact_region")
 private List<IegContactRegion> contactRegion= new ArrayList<>();
 @JsonProperty("department_id")
 private String departmentId;
 //响应
 private IegDepartment department;

 private String introduction;
 @JsonProperty("logo_url")
 private String logoUrl;
 private String name;
 @JsonProperty("picture_url")
 private String pictureUrl;
 private List<Integer> stages= new ArrayList<>();;
 private String status;
 @JsonProperty("tag_ids")
 private List<String> tagIds= new ArrayList<>();;
 //响应
 private List<IegTag> tags=new ArrayList<>();
 private String url;
 private List<IegVersion> versions= new ArrayList<>();;

}
